package com.service;

import com.pojo.TbSupplier;
import com.util.JSONResult;

public interface SupplierService {

    JSONResult findAllSupplierBySupplierName(int page, int limit, String supplierName);

    JSONResult findAllSupplierByState(int page, int limit, int state);

    JSONResult addSupplier(TbSupplier supplier);

    JSONResult deleteSupplier(int supplierId);

    JSONResult updateSupplier(TbSupplier supplier);

    JSONResult findSupplierById(int supplierId);

    JSONResult findAllSupplier(int page, int limit);
}
